home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #2 / Amiga Plus CD - 2004 - No. 02.iso / AmiSoft / Misc / emu / Wzonka-Lad.lha / Wzonka-Lad / src / routines / align!d0_32.S next >
Text File  |  1997-05-09  |  384b  |  13 lines

  1.  
  2. ;««««««««««««««««««««««««««««««««««»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
  3. ;        align the register d0 by thirtytwo
  4. ;««««««««««««««««««««««««««««««««««»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
  5.  
  6. align_d0:    move.l    d0,d1                ;align the memory.
  7.         and.l    #%11111,d1
  8.         beq.s    align_done
  9.         eor.b    #%11111,d1
  10.         add.l    d1,d0
  11.         addq.l    #1,d0                ;aligned by thirtytwo.
  12. align_done:    rts                    ;return.
  13.